package com.maxatime.dao;

import com.maxatime.pojo.StudentDormitoryRelation;
import com.maxatime.pojo.StudentGradeRelation;
import com.maxatime.pojo.StudentMessage;

import java.util.List;

public interface StudentDormitoryRelationMapper {
    int deleteByPrimaryKey(Integer pkId);

    int insert(StudentDormitoryRelation record);

    int insertSelective(StudentDormitoryRelation record);

    StudentDormitoryRelation selectByPrimaryKey(Integer pkId);

    int updateByPrimaryKeySelective(StudentDormitoryRelation record);

    int updateByPrimaryKey(StudentDormitoryRelation record);

     //根据学生id查询  是否重复
     StudentDormitoryRelation selectKeys(String studentId);
    //全查
    List<StudentDormitoryRelation> select(String dormitoryDormitoryId);
  //删除
    Integer dorStuDelete(int studentId);
   //删除后的状态
    Integer dorNa(String dormitoryId);
}